package vmcs.customer.coinstrategy;

import vmcs.store.Coin;
import vmcs.store.StoreItem;

/**This Strategy interface provides the abstraction for Coin Validation Algorithm.
 * 
 * @author Atul
 *
 */
public interface ICoinValidationStrategy {
	public static final int WEIGHT = 1;
	
	/**This method is invoked to validate the Coin. If Coin is valid and Coin is returned otherwise it returns Null
	 * 
	 * @param coins: StoreItem[]
	 * @param coin: Coin
	 * @return Coin
	 */
	public Coin validateCoin(StoreItem[] coins, Coin coin);
}
